package org.jvm;

import org.jvm.weechat.User;
import org.jvm.ydtest.MapThreadTest;

import java.util.ArrayList;
import java.util.List;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )throws Exception
    {
        List dd=new ArrayList();

        for (int i=0;i<1000;i++){
            final User tt= new User();
            new Thread(new Runnable() {
                @Override
                public void run() {
                    try {
                        Thread.sleep(100);
                        System.out.println(tt);
                    }catch (Exception e){
                    System.out.println(e);
                    }

                }
            }).start();
        }


        }
}
